using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.appointment
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string Appointment_ID= strid;
					ShowInfo(Appointment_ID);
				}
			}
		}
		
	private void ShowInfo(string Appointment_ID)
	{
		Maticsoft.BLL.Register.appointment bll=new Maticsoft.BLL.Register.appointment();
		Maticsoft.Model.Register.appointment model=bll.GetModel(Appointment_ID);
		this.lblAppointment_ID.Text=model.Appointment_ID;
		this.lblDepartments_ID.Text=model.Departments_ID;
		this.lblDoctor_ID.Text=model.Doctor_ID;
		this.lblAppointment_LastNumber.Text=model.Appointment_LastNumber.ToString();
		this.lblAppointment_TimeType.Text=model.Appointment_TimeType;
		this.lblAppointment_DayTime.Text=model.Appointment_DayTime.ToString();
		this.lblAppointment_OutpatientType.Text=model.Appointment_OutpatientType;
		this.lblAppointment_RegisteredNumber.Text=model.Appointment_RegisteredNumber.ToString();
		this.lblAppointment_RegistrationFee.Text=model.Appointment_RegistrationFee.ToString();
		this.lblAppointment_AlreadyRegisteredNumber.Text=model.Appointment_AlreadyRegisteredNumber.ToString();
		this.lblAppointment_Status.Text=model.Appointment_Status;
		this.lblAppointment_AddTime.Text=model.Appointment_AddTime.ToString();
		this.lblAppointment_Recoder.Text=model.Appointment_Recoder;

	}


    }
}
